#ifndef _TERMINAL_TX_H_
#define _TERMINAL_TX_H_

#define MIS_MASK  0x1
#define RIS_MASK  0x2
#define TIS_MASK  0x4
#define RTIS_MASK 0x8

#define STALLED   0
#define TXREADY   1

typedef struct __rx_reply {
  int ch;
} rx_reply;

typedef struct __tx_req {
  char *str;
  int len;
} tx_req;

void TerminalRxServer();
void TerminalTxServer();

#endif // _TERMINAL_TX_SERVER_H_
